<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-11-11 17:07:52
         compiled from "H:\WebApplication\myconpany\sumi_mobile\application\views\user\company.html" */ ?>
<?php /*%%SmartyHeaderCode:9833561ca994421292-61096192%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8f3540c65c699a248cf8a8269998a2f74017902f' => 
    array (
      0 => 'H:\\WebApplication\\myconpany\\sumi_mobile\\application\\views\\user\\company.html',
      1 => 1447232854,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9833561ca994421292-61096192',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_561ca9944e3026_40299675',
  'variables' => 
  array (
    'cpl' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_561ca9944e3026_40299675')) {function content_561ca9944e3026_40299675($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/header.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header stop-->
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/headerusertitle.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header end-->
<div class="wp_fixed" style="top:48px;">
<section class="wrap">
    <ul class="user_g">
        <li ><a href="/user/userinfos">用户信息</a></li>
        <li class="curr"><a href="/user/company" >公司信息</a></li>
    </ul>
    <!--content stop-->
    <section class="shopping-wrap mt10p">
        <ul class="to-c" style="background:#fff;">
            <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['cpl']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
            <li><a href="/user/editcompany/id/<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"> <span class=""><?php echo $_smarty_tpl->tpl_vars['item']->value['business_name'];?>
</span></a>
                <?php if ($_smarty_tpl->tpl_vars['item']->value['is_default']=='Y') {?>
                <span class="yellow fr">已默认</span>
                <?php } else { ?>
                <span class="blue fr"><a href="/user/setdefault/inv_id/<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
">设置默认</a></span>
                <?php }?>
            </li>
            <?php } ?>
        </ul>
    </section>

    <div class="wp_fixed">
        <p class="about_us"><a href="/user/addcompany"><span class="fl">新增公司信息</span><span></span><i></i></a></p>
    </div>

    <!--content end-->

    

</section>

<!--content end-->
</div>
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/footer.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php }} ?>
